﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web/Master.Master" AutoEventWireup="true" CodeBehind="Download.aspx.cs" Inherits="UI.Web.Download" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
      <title><%=column %>-华南农业大学信息与软件学院</title>
    <script type="text/javascript" src="js/jquery.kkPages.js"></script>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<div class="weizhi">
         <p>当前位置: &nbsp;&nbsp;<%=columnParent==null?column:columnParent+"&nbsp;&nbsp;&gt;&nbsp;&nbsp;" %><a href="#"><%=column %></a>&nbsp;&nbsp;&gt;&nbsp&nbsp;所有文章</p>
	</div>
	<div id="News">
			<ul class="top_News">
				<li class="News_left">
					<div class="gywm_liebiao">
                    	<ul>
                        	<li class="gywm_lbname"><span class="spa"><%=columnParent==null?column:columnParent %></span></li>
                            <li class="gywm_lb">
                            	<div>
                                	<ul>
                                        <%if(columnlist!=null){ %>
                                	    <%for(int i=0;i<columnlist.Count;i++){ %>
                                         <%if(columnlist[i].Name=="外部链接"){ %>
                                            <%for(int k=0;k<BLL.GetList.GetLinkList(columnlist[i].ID.ToString(), "UpdateDate", "Desc").Count;k++){ %>
                                            <li><a target="_blank" href="<%=BLL.GetList.GetLinkList(columnlist[i].ID.ToString(), "UpdateDate", "Desc")[k].WebUrl %>"><%=BLL.GetList.GetLinkList(columnlist[i].ID.ToString(), "UpdateDate", "Desc")[k].WebName %></a></li>  
                                            <%} %>
                                        <%} %>
                                        <%else{ %>
                                        <li><a href="<%=columnlist[i].ModelID==47?"Page.aspx?column="+columnlist[i].Name:columnlist[i].ModelID==45?"AllArticle.aspx?column="+columnlist[i].Name:"#" %>"><%=columnlist[i].Name %></a></li>
                                        <%} %>
                                        <%} %>
                                        <%} %>
                                        <%else{ %>
                                        <li><%=column %></li>
                                        <%} %>
                                    </ul>
                                </div>
                            </li>
                        </ul>
                    </div>
				</li>
				<li class="News_right" id="div1">
						<div class="gywm_xp"></div>
						<div class="gywm_rightName">
							<ul>
								<li class="gyName"><%=column %></li>
								<li class="gyyou"></li>
							</ul>
						</div>
						<div class="News_right_xw">												
								<div class="downlist">
									<ul>
                                        <%for(int i=0;i<list.Count;i++){ %>								  
                                         <li>
                                             <div class="downlist_main">
										        <img src="images/<%=list[i].FileType=="doc"?"word.jpg":list[i].FileType=="ppt"?"ppt.png":list[i].FileType=="xsl"?"xsl.png":list[i].FileType=="pdf"?"pdf.png":"zip.png" %>" class="filelogo"/><span><a href="<%=list[i].FileUrl %>"><%=list[i].FileName %></a><br /><small><em><%=list[i].FileSize %></em>&nbsp;&nbsp;<%=list[i].download %>次下载&nbsp;&nbsp;<%=list[i].click %>次浏览&nbsp;&nbsp;<%=list[i].FileEditor %>&nbsp;&nbsp; <%=list[i].UploadTime %></small></span><div class="downbutton"><a href="<%=list[i].FileUrl %>">下载</a></div><div class="clear"></div>
                                            </div>
                                         </li>
                                          <%} %>                               	
								    </ul>
								</div>
                            </div>	
					</li>
                </ul>
    </div>
    
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
        <script type="text/javascript">

            $('.downlist').kkPages({
                PagesClass: 'li', //需要分页的元素
                PagesMth: 8, //每页显示个数
                PagesNavMth: 5 //显示导航个数
            });
            //设置活跃导航栏项
            $("#jsddm").children().eq(1).find("a").addClass("active");

            $('.bxslider1').bxSlider({
                auto: true,
                infiniteLoop: true,
                hideControlOnEnd: true
            });
</script>
</asp:Content>
